package reliability.types.graph;

import java.util.Stack;

public class Path
    extends Stack<Integer>
{
    public String toString()
    {
        String str = "";
        for (int i = 0; i < size(); i++)
        {
            str += get(i);
            if (i != size() - 1)
            {
                str += ",";
            }
        }
        return str;
    }
}